Skip to content

Show upload OR schedule workflows in Create Event#1533

Closed
Arnei wants to merge 10000 commits intoopencast:r/19.xfrom
Arnei:schedule-or-upload-in-new-event
Closed

Show upload OR schedule workflows in Create Event#1533
Arnei wants to merge 10000 commits intoopencast:r/19.xfrom
Arnei:schedule-or-upload-in-new-event

Conversation

@Arnei
Copy link
Copy Markdown
Member

@Arnei Arnei commented Mar 19, 2026

Fixes #1531

No matter if you were upload or scheduling a new event, the "Create Event" modal would always offer you all workflows tagged with either "upload" or "schedule" (or both). This patch changes it so that if you are uploading, you only get workflows tagged with "upload". And if you are scheduling, you only get workflows tagged with "schedule".

How to test this

Cannot be tested with the default community workflows. You will have to use your own workflows or create new ones. I used these kind of dummy workflows:

id: dummy-schedule
title: Dummy Schedule
displayOrder: 1
tags:
  - schedule
operations:
  # We need at least one operation for this to be considered a valid workflow definition
  - id: defaults

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.